package com.wzweb.entity;

import java.sql.ResultSet;

import com.wzweb.dao.util.DBParse;

public class StudentInfosParse extends UserParse {
	@Override
	public Object parseEntity(ResultSet rs)throws Exception {
		StudentInfos st=new StudentInfos();
		st.setUser((User)super.parseEntity(rs));
		st.setStudentInfoID(rs.getInt("studentInfoID"));
		st.setUserID(rs.getInt("userID"));
		st.setStudentName(rs.getString("studentName"));
		st.setGender(rs.getInt("gender"));
		st.setBirthday(rs.getString("birthday"));
		st.setInterests(rs.getString("interests"));
		st.setEmail(rs.getString("email"));
		st.setMsn(rs.getString("msn"));
		st.setQq(rs.getInt("qq"));
		st.setMajor(rs.getString("major"));
		st.setAcademy(rs.getString("academy"));
		return st;
	}
	public static void main(String[] args) {
		
	}
}
